package com.itheima.common;

public class Star {
    String name;
    int age;
    int height;
    int weight;
    String gender;
    String job;

    public Star(){
        System.out.println("Star()");
    }
    public Star(String name, int age, int height, int weight, String gender, String job){
        this.name = name;
        this.age = age;
        this.height = height;
        this.weight = weight;
        this.gender = gender;
        this.job = job;
    }
    public void printInfo(){
        System.out.println("姓名：" + this.name);
        System.out.println("年龄：" + this.age);
        System.out.println("身高：" + this.height);
        System.out.println("体重：" + this.weight);
        System.out.println("性别：" + this.gender);
        System.out.println("职业：" + this.job);
    }
}
